var express = require('express');
var router = express.Router();
const {regCtr,loginCtr,updateCtr}=require("../controller/userControl");

/* GET users listing. */
//注册接口
router.post('/register',regCtr);

//登陆接口
router.post('/login',loginCtr)


//更新接口
router.post('/update',updateCtr)

module.exports = router;
